export const currentUser = state =>{
  return state.currentUser
}
export const userImage = state => state.userImage
export const isLogin = state => {
  if(state.isLogin=='string')
  {
    if(state.isLogin=="true")
    {
      return true;
    }
    else
    {
      return false;
    }
  }
  else {
    return state.isLogin;
  }

}
export const email = state => state.email
export const identity = state => {
  return parseInt(state.identity);
}
